import request from '@/utils/request'


// 查询信息
export function getData() {
  return request({
    url: '/system/dotificationPictures',
    method: 'get'
  })
}

// 用户头像上传
export function upload(data) {
  return request({
    url: '/system/dotificationPictures/upload',
    method: 'post',
    headers: { 'Content-Type': 'multipart/form-data' },
    data: data
  })
}
// 新增
export function add(data) {
  return request({
    url: '/system/dotificationPictures',
    method: 'post',
    data: data
  })
}
// 修改用户
export function update(data) {
  return request({
    url: '/system/dotificationPictures',
    method: 'put',
    data: data
  })
}
